{foreach $list as $key=>$vo}
<div class="post card">
    <div class="card-body no-gutters">
        <div class="col mb-1">
            <div class="row no-gutters">
                <img class="mr-2 rounded-circle" src="{$vo.user.avatar_url}" width="42" height="42" />
                <div class="flex-grow-1">
                    <div class="font-weight-bold">{$vo.user.nickname}</div>
                    <div class="stamp">{:time_tran($vo.create_time)}</div>
                </div>
            </div>
        </div>
        <div class="col">
            {if !empty($vo.text_format.text)}
            <div class="card-text">{$vo.text_format.text|raw}</div>
            {/if}
            {if !empty($vo.text_format.image)}
            <div class="post-image-row">
                {volist name="vo.text_format.image" id="url"}
                <div class="post-image-col">
                    <img src="{$url}" />
                </div>
                {/volist}
            </div>
            <div class="artZoomBox">
                <div class="tool clearfix">
                    <a href="javascript:void(0);" class="hideImg"><i class="la la-upload"></i>收起</a>
                    <a href="javascript:void(0);" class="viewImg" target="_blank"><i class="la la-external-link-square-alt"></i>查看原图</a>
                    <a href="javascript:void(0);" class="imgLeft"><i class="la la-undo-alt"></i>向左旋转</a>
                    <a href="javascript:void(0);" class="imgRight"><i class="la la-redo-alt"></i>向右旋转</a>
                </div>
                <div class="maxImgRow"></div>
            </div>
            {/if}
        </div>
    </div>
    <div class="handle row">
        <a class="col reply" href="{:url('post/info',['id'=>$vo.id])}" target="_blank"><i class="la la-comment"></i>{$vo.comment_num}</a>
        <div class="col relay"><i class="la la-share"></i>{$vo.relay_num}</div>
        <div class="col like"><i class="la la-heart-o"></i>{$vo.upvote_num}</div>
        <div class="col more dropdown">
            <a class="dropdown-toggle" href="#" id="post-handle-more" data-toggle="dropdown"><i class="la la-ellipsis-h"></i></a>
            <div class="dropdown-menu dropdown-menu-right" aria-labelledby="post-handle-more">
                {if $vo.uid==$user.uid}
                <button class="dropdown-item">删除</button>
                {else}
                <button class="dropdown-item">关注</button>
                {/if}
                <button class="dropdown-item">收藏</button>
            </div>
        </div>
    </div>
</div>
{/foreach}
{lt name="$page * $length" value="$total"}
<div class="load-list" data-href="{:url('/post/data',['page'=>$page+1])}" data-dom="#feed_list">
    <div class="btn btn-primary"><i class="la la-refresh"></i>显示更多</div>
</div>
{else/}
<div class="load-list">
    <div class="btn">没有了</div>
</div>
{/lt}